home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4155 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.8 KB

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com(Pete)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: NEWBIE: MSVC C++ and templates
  5. Date: 28 Jan 1996 14:27:25 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4eg14d$10u@news1.usa.pipeline.com>
  8. References: <4efp9e$jsq@news.ust.hk>
  9. NNTP-Posting-Host: pipe4.h1.usa.pipeline.com
  10. X-PipeUser: grantp
  11. X-PipeHub: usa.pipeline.com
  12. X-PipeGCOS: (Pete)
  13. X-Newsreader: Pipeline USA v3.3.0
  14.  
  15. On Jan 28, 1996 12:13:33 in article <Re: NEWBIE: MSVC C++ and templates>,
  16. 'ee_ckmaa@uxmail.ust.hk (Chan Ka Ming)' wrote: 
  17.  
  18. >James Edward Sands III (froman@ix.netcom.com) wrote: 
  19. >: I am learning C++ with microsoft visual c++ professional edition v1.5, 
  20. >: a funny thing happened the other day though.  I entered the chapter  
  21. >: (in my book) on templates, and when coding, MSVC kept on spitting up 
  22. >: errors (erroneous errors).  All surronding the template delcaration, 
  23. >: and calls. 
  24. >: Upon the help file inspection, I read an entry that says 
  25. >: "This produce does not support the use of templates" (word for word) 
  26. >: Does anyone know why MSVC does not support them (they look real 
  27. >: useful), or am I overlooking something? 
  28. >Yes, you cannot use templates in VC++. I don't know why; maybe compiler
  29. with 
  30. >version under 
  31. >2.0 doesn't include this feature. If possible, upgrade to version 2.0 or
  32. 4.0. 
  33. >Hope this help. 
  34.  
  35. Chan is correct.  MSVC++ 1.5x does not support templates.  However, 
  36. a word of caution about the recommendation to upgrade.  Versions 2.0 
  37. and higher of MSVC++ run only on NT and Win95.  If one wants to 
  38. stay with 16-bit Windows (3.1), other vendors' offerings are required 
  39. for implementation of recent additions to the language.  BC45 as well as 
  40. Watcom 10.5 are excellent. 
  41.  
  42. -- 
  43. Pete Grant 
  44. Kalevi, Inc. 
  45. Object Oriented Software Development
  46.